package com.scnlf.scnlf.portal.core.business.loan.entity;

import com.scnlf.scnlf.portal.core.common.entity.AuditingEntity;
import java.time.LocalDate;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.Data;
import lombok.experimental.Accessors;

@Entity
@Table(name = "loan_position")
@Data
@Accessors(chain = true)
public class LoanPositionEntity extends AuditingEntity {

  /**
   * 交易日
   */
  private LocalDate tradingDay;

  /**
   * 客户信息
   */
  private String customerNo;

  /**
   * 标的信息
   */
  private String symbol;

  /**
   * 允许卖出数量（可卖数量）
   */
  private Long allowSellingQty;

  /**
   * 允许买入数量（可买数量）
   */
  private Long allowBuyQty;

}
